import java.util.Scanner;

public class Test3 {
    public static int max(int a,int b){
        return Math.max(a,b);
    }
    public static double max1(double a,double b,double c){
        return Math.max(Math.max(a,b),c);
    }
    public static void main(String[] args){
        int max2=max(20,30);
        double max3=max1(52.1,64.2,20.1);
        System.out.println("max2="+max2);
        System.out.println("sum3="+max3);
    }
}
